package com.ocom.common.entity.card;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 原始数据库 实体  在这里加
 */

@Data
@TableName("xf_goods_list")
public class EntityXfGoodListOrg implements Serializable {

	private static final long serialVersionUID = 3698479106755059489L;

	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	/**
	 * 单位Id
	 */
	private Long comId;

	private String deviceNo;
	private Integer pointId;
	private Integer merchId;
	@JsonProperty("pId")
	private Long pId;
	private Integer deptId;
	private Integer receiptId;
	private String receiptName;
	private String orderNo;
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date consTime;
	@JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
	private Date mealDate;
	private Integer mealNo;
	private Integer consType;
	private Integer ifRefund;
	private Integer dishesId;
	private String dishesName;
	private Integer priceMode;
	private Integer weightNumber;
	private Integer dishesPrice;
	private Integer unitPrice;
	private String monthValue;

	/**
	 * 生成时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	@TableField(fill = FieldFill.INSERT)
	private Date createTime;


}
